const KEY = 'heimamm_token'

const saveToken = token => {
  localStorage.setItem(KEY, token)
}

const getToken = () => {
  return localStorage.getItem(KEY)
}

const removeToken = () => {
  localStorage.removeItem(KEY)
}
// 按需要导出，导出对象
export { saveToken, getToken, removeToken }
